package medicalDocumentation.medicalDoc;

import entity.Disease;
import entity.DiseaseEntity;
import entity.MedicalCase;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface CaseDiseaseSessionBeanRemote {

    Long addDisease(Long CIN, String code, String name);

    void deleteMedicine(Long CIN, Long ID);

    ArrayList<DiseaseEntity> displayCaseDisease(Long CIN);

    List<Disease> getDisease();

    DiseaseEntity getDiseaseEntity();

    List<DiseaseEntity> getDiseaseEntityList();

    MedicalCase getMedicalCase();

    ArrayList<DiseaseEntity> getRes();

    void setDiseaseEntity(DiseaseEntity diseaseEntity);

    void setDiseaseEntityList(List<DiseaseEntity> diseaseEntityList);

    void setMedicalCase(MedicalCase medicalCase);

    void setRes(ArrayList<DiseaseEntity> res);
    
    void deleteDisease(Long cin, Long id);
}
